be over a barrel

Translations
быть в затруднительном положении
After the mistake, he was over a barrel and had to accept the conditions.
После ошибки он был в затруднительном положении и должен был принять условия.
Definitions
To be in a helpless or powerless situation where someone else has complete control over you, often leaving you with no choice but to comply with their demands.